package cn.com.aiton.common.model.gbt1049.signal;


import cn.com.aiton.common.model.BaseDomain;

public class StageParamDomain extends BaseDomain {
    //路口编号
    private String crossID;
    //阶段序号。从1开始，取值2位数字
    private String stageNo;
    //阶段名称
    private String stageName;
    //特征。取值0：一般，1：感应
    private String attribute;
    //绿灯时间。单位（s）
    private String green;
    //红黄时间。单位（s）
    private String redYellow;
    //黄灯时间。单位（s）
    private String yellow;
    //全红时间。单位（s）
    private String allRed;
    //放行相位序号列表。包含至少一个相位序号<PhaseNo>相位序号。从1开始，取值2位数字
    private String phaseNoList;

    public StageParamDomain(String crossID, String stageNo, String stageName, String attribute, String green, String redYellow, String yellow, String allRed, String phaseNoList) {
        this.crossID = crossID;
        this.stageNo = stageNo;
        this.stageName = stageName;
        this.attribute = attribute;
        this.green = green;
        this.redYellow = redYellow;
        this.yellow = yellow;
        this.allRed = allRed;
        this.phaseNoList = phaseNoList;
    }

    public StageParamDomain() {
    }

    @Override
    public String toString() {
        return "StageParamDomain{" +
                "crossID='" + crossID + '\'' +
                ", stageNo='" + stageNo + '\'' +
                ", stageName='" + stageName + '\'' +
                ", attribute='" + attribute + '\'' +
                ", green='" + green + '\'' +
                ", redYellow='" + redYellow + '\'' +
                ", yellow='" + yellow + '\'' +
                ", allRed='" + allRed + '\'' +
                ", phaseNoList='" + phaseNoList + '\'' +
                '}';
    }

    public String getCrossID() {
        return crossID;
    }

    public void setCrossID(String crossID) {
        this.crossID = crossID;
    }

    public String getStageNo() {
        return stageNo;
    }

    public void setStageNo(String stageNo) {
        this.stageNo = stageNo;
    }

    public String getStageName() {
        return stageName;
    }

    public void setStageName(String stageName) {
        this.stageName = stageName;
    }

    public String getAttribute() {
        return attribute;
    }

    public void setAttribute(String attribute) {
        this.attribute = attribute;
    }

    public String getGreen() {
        return green;
    }

    public void setGreen(String green) {
        this.green = green;
    }

    public String getRedYellow() {
        return redYellow;
    }

    public void setRedYellow(String redYellow) {
        this.redYellow = redYellow;
    }

    public String getYellow() {
        return yellow;
    }

    public void setYellow(String yellow) {
        this.yellow = yellow;
    }

    public String getAllRed() {
        return allRed;
    }

    public void setAllRed(String allRed) {
        this.allRed = allRed;
    }

    public String getPhaseNoList() {
        return phaseNoList;
    }

    public void setPhaseNoList(String phaseNoList) {
        this.phaseNoList = phaseNoList;
    }
}
